package idv.nightpig.lab02.service;

import idv.nightpig.lab02.domain.User;

import java.util.Collection;

public interface Lab02Service {

    User doLogin(String account, String password);

    Collection<User> findAllUser();

    User findUserById(Long id);

    void persistUser(User user);

    void removeUser(User user);

}
